package com.zhl.media.app.model;

import com.zhl.media.app.annotation.TreeNodeId;
import com.zhl.media.app.annotation.TreeNodeLabel;
import com.zhl.media.app.annotation.TreeNodePid;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;

import java.io.Serializable;
import org.greenrobot.greendao.annotation.Generated;


@Entity
public class Proj implements Serializable {
    private static final long serialVersionUID = -8940196742313994741L;
    @TreeNodeId
    @Id
    private String id;
    @TreeNodePid
    private String parentId;
    @TreeNodeLabel
    private String name;
    // 总安装数
    private int sumNum;
    // 已安装数
    private int yiNum;
    // 设置调整
    private int sttzNum;
    // 已调整
    private int ytzNum;
    // 设置补画
    private int ssbhNum;
    // 空余媒体位数
    private int kymtwNum;
    // 本期工作 1 是 2不是
    private int type;
    //项目Id
    private String projectId;
    //楼座ID
    private String buildingId;
    //单元ID
    private String unitId;
    @Generated(hash = 1411204080)
    public Proj(String id, String parentId, String name, int sumNum, int yiNum,
            int sttzNum, int ytzNum, int ssbhNum, int kymtwNum, int type,
            String projectId, String buildingId, String unitId) {
        this.id = id;
        this.parentId = parentId;
        this.name = name;
        this.sumNum = sumNum;
        this.yiNum = yiNum;
        this.sttzNum = sttzNum;
        this.ytzNum = ytzNum;
        this.ssbhNum = ssbhNum;
        this.kymtwNum = kymtwNum;
        this.type = type;
        this.projectId = projectId;
        this.buildingId = buildingId;
        this.unitId = unitId;
    }
    @Generated(hash = 1213437870)
    public Proj() {
    }
    public String getId() {
        return this.id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getParentId() {
        return this.parentId;
    }
    public void setParentId(String parentId) {
        this.parentId = parentId;
    }
    public String getName() {
        return this.name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public int getSumNum() {
        return this.sumNum;
    }
    public void setSumNum(int sumNum) {
        this.sumNum = sumNum;
    }
    public int getYiNum() {
        return this.yiNum;
    }
    public void setYiNum(int yiNum) {
        this.yiNum = yiNum;
    }
    public int getSttzNum() {
        return this.sttzNum;
    }
    public void setSttzNum(int sttzNum) {
        this.sttzNum = sttzNum;
    }
    public int getYtzNum() {
        return this.ytzNum;
    }
    public void setYtzNum(int ytzNum) {
        this.ytzNum = ytzNum;
    }
    public int getSsbhNum() {
        return this.ssbhNum;
    }
    public void setSsbhNum(int ssbhNum) {
        this.ssbhNum = ssbhNum;
    }
    public int getKymtwNum() {
        return this.kymtwNum;
    }
    public void setKymtwNum(int kymtwNum) {
        this.kymtwNum = kymtwNum;
    }
    public int getType() {
        return this.type;
    }
    public void setType(int type) {
        this.type = type;
    }
    public String getProjectId() {
        return this.projectId;
    }
    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }
    public String getBuildingId() {
        return this.buildingId;
    }
    public void setBuildingId(String buildingId) {
        this.buildingId = buildingId;
    }
    public String getUnitId() {
        return this.unitId;
    }
    public void setUnitId(String unitId) {
        this.unitId = unitId;
    }
}
